require.config({
	shim:{
        'calendar':{exports:'calendar'}
    },
    paths : {
        //"vue":"lib/vue",
        "jquery":"lib/jquery",
        "cmd":"cmd",
        "calendar":"lib/datepicker/WdatePicker",
    }
});

require(['jquery','cmd','calendar'],function($){

//get top menu
var token = detectToken();


//默认加载设备维护列表（暂时不做）

//Virtual fake data just for test!
var getEquipmentMaintainHtml = '';
 for(var i=0;i<20;i++){
    getEquipmentMaintainHtml +='<div class="tableTReach clearfix"><div class="tablecommoncel-1 tableTBdpoint fl"><i class="xwl i-checkno"></i></div><div class="tablecommoncel-2 tableTBdZH fl oellipsis">BD102130+'+i+'</div><div class="tablecommoncel-3 tableTBdDTU fl">4600464654654+'+i+'</div><div class="tablecommoncel-4 tableTBdMK fl oellipsis">20+'+i+'</div><div class="tablecommoncel-5 tableTBdFF fl">2015-01-06 18:56:23</div><div class="tablecommoncel-6 tableTBdIP fl oellipsis">100+'+i+'</div><div class="tablecommoncel-7 tableTBdIP fl oellipsis">100+'+i+'</div><div class="tablecommoncel-8 tableTBdIP fl oellipsis">研发调试+'+i+'</div><div class="tablecommoncel-9 tableTBdIP fl oellipsis">LG5654654646+'+i+'</div><div class="tablecommoncel-10 tableTBdIP fl oellipsis">广东肇庆同德公司+'+i+'</div><div class="tablecommoncel-11 tableTBdIP fl oellipsis">张三丰+'+i+'</div></div>';
 }
 $(".showtableContent").html(getEquipmentMaintainHtml);





$.flytip("该页面功能暂未开放...");



//个人中心下拉
$("#showmyAccountMenu").toggle(
    function(){$("#toggleshowmenu").show();},
    function(){$("#toggleshowmenu").hide();}
);

//$.flytip("zhowdom");$.vloading.show();$.vloading.remove();
getOnelayerMenu();
getTwolayerMenu(601);
$(".mianshowbpt-r a").eq(1).addClass("cur");
//getThreelayerMenu(603);



//req.js end
})